package cn.kgc.crowdfundingadminspringboot2.service;


import cn.kgc.crowdfundingadminspringboot2.pojo.Auth;

import java.util.List;
import java.util.Map;

public interface AuthService {
    public List<Auth> getAllAuth();
    //根据角色查询权限id
    public List<Integer> getAssignedAuthIdList(Integer roleId);
    //分配权限
    public void updateRelationShipBetweenRoleAndAuth(Map<String, List<Integer>> assignDataMap);
    //根据角色查询权限
    public List<Auth> selectByRoleIds(List<Integer> roleIds);

}
